<?php


namespace collections\compare;


class StringComparator implements Comparator
{

    public function compare($o1, $o2)
    {
        return strcmp($o1, $o2);
    }
}